<!--
 * @Author: yanjikun
 * @Date: 2022-05-26 17:22:02
 * @LastEditors: yanjikun
 * @LastEditTime: 2022-06-16 11:31:36
 * @Description: file content
-->
<script lang="tsx">
  import { defineComponent } from 'vue'

  export default defineComponent({
    name: 'LayoutParentView',
    setup() {
      return () => (
        <router-view>
          {{
            default: ({ Component: CusComponent }) => {
              return CusComponent ? <CusComponent></CusComponent> : null
            },
          }}
        </router-view>
      )
    },
  })
</script>
